package com.javasm.domin.entity.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author whl
 * @since 2022-01-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class CrmPromotion implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "promotionId", type = IdType.AUTO)
    private Integer promotionId;

    /**
     * 商品编码
     */
    @TableField("goodsId")
    private Integer goodsId;

    /**
     * 价格调整单
     */
    @TableField("price_adjustId")
    private Integer priceAdjustid;

    /**
     * 限时抢购开始时间
     */
    @TableField("startTime")
    private LocalDateTime startTime;

    /**
     * 限时抢购结束时间
     */
    @TableField("endTime")
    private LocalDateTime endTime;

    /**
     * 备注
     */
    private String note;

    /**
     * 审批单
     */
    @TableField("approvalId")
    private Integer approvalId;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;


}
